<%@ page pageEncoding="UTF-8"%>
<%  
	String path = request.getContextPath();  
	String basePath = request.getScheme()+"://"+request.getServerName()+
		(request.getServerPort() == 80 ? "" : (":"+request.getServerPort())) +path+"/";  
%>

<script type="text/javascript">
	var base_path = "<%=basePath%>";
</script>
<base href="<%=basePath%>">
<link rel='stylesheet' href='resources/css/base.css'/>
    <link rel='stylesheet' href='resources/css/admin/layout.css'/>
	<link rel='stylesheet' href='resources/css/admin/colors.css'/>
	<link rel='stylesheet' href='resources/css/global.css'/>
   	<link rel="stylesheet" href="resources/css/global.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="resources/css/home/layout.css" type="text/css" media="screen" />
	<script type="text/javascript" src='resources/js/jquery-1.5.2.min.js'></script>
	<script type="text/javascript" src='resources/js/util.eduapp.js'></script>
	<!--[if lte IE 7]>
	<link rel='stylesheet' href='resources/css/admin/ie.css'/>
	<![endif]-->
	<script type="text/javascript" src='resources/js/jquery-1.5.2.min.js'></script>
	<script type="text/javascript" src='resources/js/util.eduapp.js'></script>
	<script type="text/javascript" src='resources/js/eduapp.slice.js'></script>


<div>      
      <table width="90%" cellpadding="0" cellspacing="0" border="1" style="text-align:center;" class="datagrid" align="center">
                                <thead>
                                    <tr>
                                 		<td></td>
                                        <td>车次</td>
                                        <td>始发站</td>
                                        <td>发车时间</td>
                                        <td>到达站</td>
                                        <td>达到时间</td>
                                        <td>发车日期</td>
                                        <td>车票类型</td>                          
                                    </tr>
                                </thead>
                                	   <tr id="${result.id}">
                                            <td>首选</td>
                                            <td>${result.orderTrain.trainNumber}</td>
                                            <td>${result.orderTrain.trainStationStarting}</td>
                                            <td>${result.orderTrain.trainTimeDeparture}</td>
                                            <td>${result.orderTrain.trainStationTerminating}</td>
                                            <td>${result.orderTrain.trainTimeArrival}</td>
                                            <td>${result.orderTrainDate1st}</td>
                                            <td>${result.orderTrainSeatType1st}</td>     	           
                                       </tr>
                                       <tr id="${result.id}">
                                            <td>次选</td>
                                            <td>${result.orderTrain.trainNumber}</td>
                                            <td>${result.orderTrain.trainStationStarting}</td>
                                            <td>${result.orderTrain.trainTimeDeparture}</td>
                                            <td>${result.orderTrain.trainStationTerminating}</td>
                                            <td>${result.orderTrain.trainTimeArrival}</td>
                                            <td>${result.orderTrainDate2nd}</td>
                                            <td>${result.orderTrainSeatType2nd}</td>     	           
                                       </tr>
                                       <tr id="${result.id}">
                                            <td>再选</td>
                                            <td>${result.orderTrain.trainNumber}</td>
                                            <td>${result.orderTrain.trainStationStarting}</td>
                                            <td>${result.orderTrain.trainTimeDeparture}</td>
                                            <td>${result.orderTrain.trainStationTerminating}</td>
                                            <td>${result.orderTrain.trainTimeArrival}</td>
                                            <td>${result.orderTrainDate3th}</td>
                                            <td>${result.orderTrainSeatType3th}</td>     	           
                                       </tr>
                                <tbody>
                                </tbody>
                            </table>                                        
</div>   